package com.example.flow.request;

import java.util.Map;

import javax.validation.constraints.NotEmpty;

import com.example.flow.enums.EnumReply;

import lombok.Data;

/**
 * @author safe
 * @date 2021/1/31
 */
@Data
public class CommonApproveRequest {
    @NotEmpty(message = "任务编号为空")
    private String taskId;

    @NotEmpty(message = "流程编号为空")
    private String orderId;

    @NotEmpty(message = "审批结果为空")
    private String reply;

//    @NotEmpty(message = "操作者为空")
    private String operatorId;

    /* 审批参数 */
    private Map<String,String> params;

}
